import type {AppRouteModule} from '/@/router/types'

import {LAYOUT} from '/@/router/constant'

const book: AppRouteModule = {
  path: '/book',
  name: '图书管理',
  component: LAYOUT,
  redirect: '/book/booklist',
  meta: {
    orderNo: 10,
    icon: 'ant-design:read-outlined',
    title: '图书管理',
  },
  children: [
    {
      path: 'booklist',
      name: '图书列表',
      component: () => import('/src/views/book/booklist/index.vue'),
      meta: {
        // icon: 'ant-design:read-outlined',
        // affix: true,
        title: '图书列表',
      },
    }, {
      path: 'bookadd',
      name: '添加图书',
      component: () => import('/@/views/book/bookadd/index.vue'),
      meta: {
        // icon: 'ant-design:read-outlined',
        // affix: true,
        title: '图书列表',
      },
    },

  ],
}

export default book
